@layout("/common/_container.html",{js:["/assets/basic/basicArea/basicArea_edit_hx.js"]}){
<style>
	.layui-badge-rim, .layui-colla-content, .layui-colla-item, .layui-collapse, .layui-elem-field, .layui-form-pane .layui-form-item[pane], .layui-form-pane .layui-form-label, .layui-input, .layui-layedit, .layui-layedit-tool, .layui-quote-nm, .layui-select, .layui-tab-bar, .layui-tab-card, .layui-tab-title, .layui-tab-title .layui-this:after, .layui-textarea {
    	border-color: #89d19d;
    }
    .layui-form-pane .layui-form-label {
   	 	background-color: #e6e6e6;
	}
</style>
<div class="layui-body-header">
    <span class="layui-body-header-title">修改</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="basicAreaForm" lay-filter="basicAreaForm" class="layui-form layui-form-pane" style="max-width: 700px;margin: 40px auto;">
                <input name="id" type="hidden"/>
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 10px;">
			    	<legend>修改库区</legend>
			  	</fieldset> 
                <div class="layui-form-item">
                    <label class="layui-form-label" style="font-weight: 600;">所属仓库<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <select id="areaWarehouseId" name="areaWarehouseId" lay-filter="dataSourceId" lay-verify="required" required>
                            @for(item in wlist!){
                            <option value="${item.id}">${item.warehouseName}</option>
                            @}
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label" style="font-weight: 600;">库区名称<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="areaName" name="areaName" placeholder="请输入库区名称" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label" style="font-weight: 600;">库区编号<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="areaNumber" name="areaNumber" placeholder="请输入库区编号" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">面积</label>
                    <div class="layui-input-block">
                        <input id="areaMeasure" name="areaMeasure" placeholder="请输入面积" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">品类</label>
                    <div class="layui-input-block">
                        <input id="areaProduct" name="areaProduct" placeholder="请输入品类" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">库区功能</label>
                    <div class="layui-input-block">
                        <input id="areaFunction" name="areaFunction" placeholder="请输入库区功能" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">保管条件</label>
                    <div class="layui-input-block">
                        <input id="areaCondition" name="areaCondition" placeholder="请输入保管条件" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">物料大类编码</label>
                    <div class="layui-input-block">
                        <input id="bigtypes" name="bigtypes" placeholder="请输入物料大类编码" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">库区类型</label>
                    <div class="layui-input-block">
                        <input id="areaType" name="areaType" placeholder="请输入库区类型" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">是否拆零</label>
                    <div class="layui-input-block">
                        <select id="dismantlingParts" name="dismantlingParts" lay-verify="">
                            <option value="">不限制</option>
                            <option value="否">否</option>
                            <option value="是">是</option>
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">备注</label>
                    <div class="layui-input-block">
                        <input id="areaNotes" name="areaNotes" placeholder="请输入备注" type="text" class="layui-input" lay-verify="" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}